package com.xiao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiao.pojo.Article;

import java.io.IOException;
import java.util.List;

public interface ArticleService extends IService<Article> {


    // 获取所有文章

    List<Article> getAllArticle();

    // 搜索文章
    String queryArticle(String keyword) throws IOException;
}
